﻿using System;
using System.ComponentModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace GSSoftSL.Models
{
    public class DiemSoDataGridVM
    {
        private CotDiemName _cotDiemName = new CotDiemName();
        public CotDiemName CotDiemName { get { return _cotDiemName; } }

        private CotDiemVisible _cotDiemVisible = new CotDiemVisible();
        public CotDiemVisible CotDiemVisible { get { return _cotDiemVisible; } }
    }

    public class CotDiemName : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String info)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(info));
            }
        }

        private string _cot1;
        public string Cot1
        {
            get
            {
                return _cot1;
            }
            set
            {
                if (_cot1 == value)
                {
                    return;
                }
                _cot1 = value;
                NotifyPropertyChanged("Cot1");
            }
        }

        private string _cot2;
        public string Cot2
        {
            get
            {
                return _cot2;
            }
            set
            {
                if (_cot2 == value)
                {
                    return;
                }
                _cot2 = value;
                NotifyPropertyChanged("Cot2");
            }
        }

        private string _cot3;
        public string Cot3
        {
            get
            {
                return _cot3;
            }
            set
            {
                if (_cot3 == value)
                {
                    return;
                }
                _cot3 = value;
                NotifyPropertyChanged("Cot3");
            }
        }

        private string _cot4;
        public string Cot4
        {
            get
            {
                return _cot4;
            }
            set
            {
                if (_cot4 == value)
                {
                    return;
                }
                _cot4 = value;
                NotifyPropertyChanged("Cot4");
            }
        }

        private string _cot5;
        public string Cot5
        {
            get
            {
                return _cot5;
            }
            set
            {
                if (_cot5 == value)
                {
                    return;
                }
                _cot5 = value;
                NotifyPropertyChanged("Cot5");
            }
        }

        private string _cot6;
        public string Cot6
        {
            get
            {
                return _cot6;
            }
            set
            {
                if (_cot6 == value)
                {
                    return;
                }
                _cot6 = value;
                NotifyPropertyChanged("Cot6");
            }
        }

        private string _cot7;
        public string Cot7
        {
            get
            {
                return _cot7;
            }
            set
            {
                if (_cot7 == value)
                {
                    return;
                }
                _cot7 = value;
                NotifyPropertyChanged("Cot7");
            }
        }

        private string _cot8;
        public string Cot8
        {
            get
            {
                return _cot8;
            }
            set
            {
                if (_cot8 == value)
                {
                    return;
                }
                _cot8 = value;
                NotifyPropertyChanged("Cot8");
            }
        }

        private string _cot9;
        public string Cot9
        {
            get
            {
                return _cot9;
            }
            set
            {
                if (_cot9 == value)
                {
                    return;
                }
                _cot9 = value;
                NotifyPropertyChanged("Cot9");
            }
        }

        private string _cot10;
        public string Cot10
        {
            get
            {
                return _cot10;
            }
            set
            {
                if (_cot10 == value)
                {
                    return;
                }
                _cot10 = value;
                NotifyPropertyChanged("Cot10");
            }
        }

        private string _cot11;
        public string Cot11
        {
            get
            {
                return _cot11;
            }
            set
            {
                if (_cot11 == value)
                {
                    return;
                }
                _cot11 = value;
                NotifyPropertyChanged("Cot11");
            }
        }

        private string _cot12;
        public string Cot12
        {
            get
            {
                return _cot12;
            }
            set
            {
                if (_cot12 == value)
                {
                    return;
                }
                _cot12 = value;
                NotifyPropertyChanged("Cot12");
            }
        }

        private string _cot13;
        public string Cot13
        {
            get
            {
                return _cot13;
            }
            set
            {
                if (_cot13 == value)
                {
                    return;
                }
                _cot13 = value;
                NotifyPropertyChanged("Cot13");
            }
        }

        private string _cot14;
        public string Cot14
        {
            get
            {
                return _cot14;
            }
            set
            {
                if (_cot14 == value)
                {
                    return;
                }
                _cot14 = value;
                NotifyPropertyChanged("Cot14");
            }
        }

        private string _cot15;
        public string Cot15
        {
            get
            {
                return _cot15;
            }
            set
            {
                if (_cot15 == value)
                {
                    return;
                }
                _cot15 = value;
                NotifyPropertyChanged("Cot15");
            }
        }

        private string _cot16;
        public string Cot16
        {
            get
            {
                return _cot16;
            }
            set
            {
                if (_cot16 == value)
                {
                    return;
                }
                _cot16 = value;
                NotifyPropertyChanged("Cot16");
            }
        }

        private string _cot17;
        public string Cot17
        {
            get
            {
                return _cot17;
            }
            set
            {
                if (_cot17 == value)
                {
                    return;
                }
                _cot17 = value;
                NotifyPropertyChanged("Cot17");
            }
        }

        private string _cot18;
        public string Cot18
        {
            get
            {
                return _cot18;
            }
            set
            {
                if (_cot18 == value)
                {
                    return;
                }
                _cot18 = value;
                NotifyPropertyChanged("Cot18");
            }
        }

        private string _cot19;
        public string Cot19
        {
            get
            {
                return _cot19;
            }
            set
            {
                if (_cot19 == value)
                {
                    return;
                }
                _cot19 = value;
                NotifyPropertyChanged("Cot19");
            }
        }

        private string _cot20;
        public string Cot20
        {
            get
            {
                return _cot20;
            }
            set
            {
                if (_cot20 == value)
                {
                    return;
                }
                _cot20 = value;
                NotifyPropertyChanged("Cot20");
            }
        }

        private string _cot21;
        public string Cot21
        {
            get
            {
                return _cot21;
            }
            set
            {
                if (_cot21 == value)
                {
                    return;
                }
                _cot21 = value;
                NotifyPropertyChanged("Cot21");
            }
        }

        private string _cot22;
        public string Cot22
        {
            get
            {
                return _cot22;
            }
            set
            {
                if (_cot22 == value)
                {
                    return;
                }
                _cot22 = value;
                NotifyPropertyChanged("Cot22");
            }
        }

        private string _cot23;
        public string Cot23
        {
            get
            {
                return _cot23;
            }
            set
            {
                if (_cot23 == value)
                {
                    return;
                }
                _cot23 = value;
                NotifyPropertyChanged("Cot23");
            }
        }

        private string _cot24;
        public string Cot24
        {
            get
            {
                return _cot24;
            }
            set
            {
                if (_cot24 == value)
                {
                    return;
                }
                _cot24 = value;
                NotifyPropertyChanged("Cot24");
            }
        }

        private string _cot25;
        public string Cot25
        {
            get
            {
                return _cot25;
            }
            set
            {
                if (_cot25 == value)
                {
                    return;
                }
                _cot25 = value;
                NotifyPropertyChanged("Cot25");
            }
        }

        private string _cot26;
        public string Cot26
        {
            get
            {
                return _cot26;
            }
            set
            {
                if (_cot26 == value)
                {
                    return;
                }
                _cot26 = value;
                NotifyPropertyChanged("Cot26");
            }
        }

        private string _cot27;
        public string Cot27
        {
            get
            {
                return _cot27;
            }
            set
            {
                if (_cot27 == value)
                {
                    return;
                }
                _cot27 = value;
                NotifyPropertyChanged("Cot27");
            }
        }

        private string _cot28;
        public string Cot28
        {
            get
            {
                return _cot28;
            }
            set
            {
                if (_cot28 == value)
                {
                    return;
                }
                _cot28 = value;
                NotifyPropertyChanged("Cot28");
            }
        }

        private string _cot29;
        public string Cot29
        {
            get
            {
                return _cot29;
            }
            set
            {
                if (_cot29 == value)
                {
                    return;
                }
                _cot29 = value;
                NotifyPropertyChanged("Cot29");
            }
        }

        private string _cot30;
        public string Cot30
        {
            get
            {
                return _cot30;
            }
            set
            {
                if (_cot30 == value)
                {
                    return;
                }
                _cot30 = value;
                NotifyPropertyChanged("Cot30");
            }
        }
    }

    public class CotDiemVisible : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String info)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(info));
            }
        }

        private Visibility _cot1 = Visibility.Collapsed;
        public Visibility Cot1
        {
            get
            {
                return _cot1;
            }
            set
            {
                if (_cot1 == value)
                {
                    return;
                }
                _cot1 = value;
                NotifyPropertyChanged("Cot1");
            }
        }

        private Visibility _cot2 = Visibility.Collapsed;
        public Visibility Cot2
        {
            get
            {
                return _cot2;
            }
            set
            {
                if (_cot2 == value)
                {
                    return;
                }
                _cot2 = value;
                NotifyPropertyChanged("Cot2");
            }
        }

        private Visibility _cot3 = Visibility.Collapsed;
        public Visibility Cot3
        {
            get
            {
                return _cot3;
            }
            set
            {
                if (_cot3 == value)
                {
                    return;
                }
                _cot3 = value;
                NotifyPropertyChanged("Cot3");
            }
        }

        private Visibility _cot4 = Visibility.Collapsed;
        public Visibility Cot4
        {
            get
            {
                return _cot4;
            }
            set
            {
                if (_cot4 == value)
                {
                    return;
                }
                _cot4 = value;
                NotifyPropertyChanged("Cot4");
            }
        }

        private Visibility _cot5 = Visibility.Collapsed;
        public Visibility Cot5
        {
            get
            {
                return _cot5;
            }
            set
            {
                if (_cot5 == value)
                {
                    return;
                }
                _cot5 = value;
                NotifyPropertyChanged("Cot5");
            }
        }

        private Visibility _cot6 = Visibility.Collapsed;
        public Visibility Cot6
        {
            get
            {
                return _cot6;
            }
            set
            {
                if (_cot6 == value)
                {
                    return;
                }
                _cot6 = value;
                NotifyPropertyChanged("Cot6");
            }
        }

        private Visibility _cot7 = Visibility.Collapsed;
        public Visibility Cot7
        {
            get
            {
                return _cot7;
            }
            set
            {
                if (_cot7 == value)
                {
                    return;
                }
                _cot7 = value;
                NotifyPropertyChanged("Cot7");
            }
        }

        private Visibility _cot8 = Visibility.Collapsed;
        public Visibility Cot8
        {
            get
            {
                return _cot8;
            }
            set
            {
                if (_cot8 == value)
                {
                    return;
                }
                _cot8 = value;
                NotifyPropertyChanged("Cot8");
            }
        }

        private Visibility _cot9 = Visibility.Collapsed;
        public Visibility Cot9
        {
            get
            {
                return _cot9;
            }
            set
            {
                if (_cot9 == value)
                {
                    return;
                }
                _cot9 = value;
                NotifyPropertyChanged("Cot9");
            }
        }

        private Visibility _cot10 = Visibility.Collapsed;
        public Visibility Cot10
        {
            get
            {
                return _cot10;
            }
            set
            {
                if (_cot10 == value)
                {
                    return;
                }
                _cot10 = value;
                NotifyPropertyChanged("Cot10");
            }
        }

        private Visibility _cot11 = Visibility.Collapsed;
        public Visibility Cot11
        {
            get
            {
                return _cot11;
            }
            set
            {
                if (_cot11 == value)
                {
                    return;
                }
                _cot11 = value;
                NotifyPropertyChanged("Cot11");
            }
        }

        private Visibility _cot12 = Visibility.Collapsed;
        public Visibility Cot12
        {
            get
            {
                return _cot12;
            }
            set
            {
                if (_cot12 == value)
                {
                    return;
                }
                _cot12 = value;
                NotifyPropertyChanged("Cot12");
            }
        }

        private Visibility _cot13 = Visibility.Collapsed;
        public Visibility Cot13
        {
            get
            {
                return _cot13;
            }
            set
            {
                if (_cot13 == value)
                {
                    return;
                }
                _cot13 = value;
                NotifyPropertyChanged("Cot13");
            }
        }

        private Visibility _cot14 = Visibility.Collapsed;
        public Visibility Cot14
        {
            get
            {
                return _cot14;
            }
            set
            {
                if (_cot14 == value)
                {
                    return;
                }
                _cot14 = value;
                NotifyPropertyChanged("Cot14");
            }
        }

        private Visibility _cot15 = Visibility.Collapsed;
        public Visibility Cot15
        {
            get
            {
                return _cot15;
            }
            set
            {
                if (_cot15 == value)
                {
                    return;
                }
                _cot15 = value;
                NotifyPropertyChanged("Cot15");
            }
        }

        private Visibility _cot16 = Visibility.Collapsed;
        public Visibility Cot16
        {
            get
            {
                return _cot16;
            }
            set
            {
                if (_cot16 == value)
                {
                    return;
                }
                _cot16 = value;
                NotifyPropertyChanged("Cot16");
            }
        }

        private Visibility _cot17 = Visibility.Collapsed;
        public Visibility Cot17
        {
            get
            {
                return _cot17;
            }
            set
            {
                if (_cot17 == value)
                {
                    return;
                }
                _cot17 = value;
                NotifyPropertyChanged("Cot17");
            }
        }

        private Visibility _cot18 = Visibility.Collapsed;
        public Visibility Cot18
        {
            get
            {
                return _cot18;
            }
            set
            {
                if (_cot18 == value)
                {
                    return;
                }
                _cot18 = value;
                NotifyPropertyChanged("Cot18");
            }
        }

        private Visibility _cot19 = Visibility.Collapsed;
        public Visibility Cot19
        {
            get
            {
                return _cot19;
            }
            set
            {
                if (_cot19 == value)
                {
                    return;
                }
                _cot19 = value;
                NotifyPropertyChanged("Cot19");
            }
        }

        private Visibility _cot20 = Visibility.Collapsed;
        public Visibility Cot20
        {
            get
            {
                return _cot20;
            }
            set
            {
                if (_cot20 == value)
                {
                    return;
                }
                _cot20 = value;
                NotifyPropertyChanged("Cot20");
            }
        }

        private Visibility _cot21 = Visibility.Collapsed;
        public Visibility Cot21
        {
            get
            {
                return _cot21;
            }
            set
            {
                if (_cot21 == value)
                {
                    return;
                }
                _cot21 = value;
                NotifyPropertyChanged("Cot21");
            }
        }

        private Visibility _cot22 = Visibility.Collapsed;
        public Visibility Cot22
        {
            get
            {
                return _cot22;
            }
            set
            {
                if (_cot22 == value)
                {
                    return;
                }
                _cot22 = value;
                NotifyPropertyChanged("Cot22");
            }
        }

        private Visibility _cot23 = Visibility.Collapsed;
        public Visibility Cot23
        {
            get
            {
                return _cot23;
            }
            set
            {
                if (_cot23 == value)
                {
                    return;
                }
                _cot23 = value;
                NotifyPropertyChanged("Cot23");
            }
        }

        private Visibility _cot24 = Visibility.Collapsed;
        public Visibility Cot24
        {
            get
            {
                return _cot24;
            }
            set
            {
                if (_cot24 == value)
                {
                    return;
                }
                _cot24 = value;
                NotifyPropertyChanged("Cot24");
            }
        }

        private Visibility _cot25 = Visibility.Collapsed;
        public Visibility Cot25
        {
            get
            {
                return _cot25;
            }
            set
            {
                if (_cot25 == value)
                {
                    return;
                }
                _cot25 = value;
                NotifyPropertyChanged("Cot25");
            }
        }

        private Visibility _cot26 = Visibility.Collapsed;
        public Visibility Cot26
        {
            get
            {
                return _cot26;
            }
            set
            {
                if (_cot26 == value)
                {
                    return;
                }
                _cot26 = value;
                NotifyPropertyChanged("Cot26");
            }
        }

        private Visibility _cot27 = Visibility.Collapsed;
        public Visibility Cot27
        {
            get
            {
                return _cot27;
            }
            set
            {
                if (_cot27 == value)
                {
                    return;
                }
                _cot27 = value;
                NotifyPropertyChanged("Cot27");
            }
        }

        private Visibility _cot28 = Visibility.Collapsed;
        public Visibility Cot28
        {
            get
            {
                return _cot28;
            }
            set
            {
                if (_cot28 == value)
                {
                    return;
                }
                _cot28 = value;
                NotifyPropertyChanged("Cot28");
            }
        }

        private Visibility _cot29 = Visibility.Collapsed;
        public Visibility Cot29
        {
            get
            {
                return _cot29;
            }
            set
            {
                if (_cot29 == value)
                {
                    return;
                }
                _cot29 = value;
                NotifyPropertyChanged("Cot29");
            }
        }

        private Visibility _cot30 = Visibility.Collapsed;
        public Visibility Cot30
        {
            get
            {
                return _cot30;
            }
            set
            {
                if (_cot30 == value)
                {
                    return;
                }
                _cot30 = value;
                NotifyPropertyChanged("Cot30");
            }
        }
    }
}
